const { DataTypes } = require('../utils/sequelize');

const Academy = {
  name: "Academy",
  data: {
    academyId: {
      type: DataTypes.STRING,
      allowNull: false,       //是否能为空
      primaryKey: true,       //主键
    },
    academyName: {
      type: DataTypes.STRING,
      allowNull: false,
    }
  },
  options: {
      tableName: 'academy_tb'
  }
}
module.exports = Academy